Optimal. Leaf size=67 \[ \frac {\sqrt {c+d x^3}}{27 c d \left (8 c-d x^3\right )}+\frac {\tanh ^{-1}\left (\frac {\sqrt {c+d x^3}}{3 \sqrt {c}}\right )}{81 c^{3/2} d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 67, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {455, 44, 65,
212} \begin {gather*} \frac {\tanh ^{-1}\left (\frac {\sqrt {c+d x^3}}{3 \sqrt {c}}\right )}{81 c^{3/2} d}+\frac {\sqrt {c+d x^3}}{27 c d \left (8 c-d x^3\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rule 65
Rule 212
Rule 455
Rubi steps
\begin {align*} \int \frac {x^2}{\left (8 c-d x^3\right )^2 \sqrt {c+d x^3}} \, dx &=\frac {1}{3} \text {Subst}\left (\int \frac {1}{(8 c-d x)^2 \sqrt {c+d x}} \, dx,x,x^3\right )\\ &=\frac {\sqrt {c+d x^3}}{27 c d \left (8 c-d x^3\right )}+\frac {\text {Subst}\left (\int \frac {1}{(8 c-d x) \sqrt {c+d x}} \, dx,x,x^3\right )}{54 c}\\ &=\frac {\sqrt {c+d x^3}}{27 c d \left (8 c-d x^3\right )}+\frac {\text {Subst}\left (\int \frac {1}{9 c-x^2} \, dx,x,\sqrt {c+d x^3}\right )}{27 c d}\\ &=\frac {\sqrt {c+d x^3}}{27 c d \left (8 c-d x^3\right )}+\frac {\tanh ^{-1}\left (\frac {\sqrt {c+d x^3}}{3 \sqrt {c}}\right )}{81 c^{3/2} d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 64, normalized size = 0.96 \begin {gather*} \frac {\frac {3 \sqrt {c} \sqrt {c+d x^3}}{8 c-d x^3}+\tanh ^{-1}\left (\frac {\sqrt {c+d x^3}}{3 \sqrt {c}}\right )}{81 c^{3/2} d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 0.32, size = 443, normalized size = 6.61
method | result | size |
default | \(\frac {\sqrt {d \,x^{3}+c}}{27 c d \left (-d \,x^{3}+8 c \right )}-\frac {i \sqrt {2}\, \left (\munderset {\underline {\hspace {1.25 ex}}\alpha =\RootOf \left (d \,\textit {\_Z}^{3}-8 c \right )}{\sum }\frac {\left (-c \,d^{2}\right )^{\frac {1}{3}} \sqrt {2}\, \sqrt {\frac {i d \left (2 x +\frac {-i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}+\left (-c \,d^{2}\right )^{\frac {1}{3}}}{d}\right )}{\left (-c \,d^{2}\right )^{\frac {1}{3}}}}\, \sqrt {\frac {d \left (x -\frac {\left (-c \,d^{2}\right )^{\frac {1}{3}}}{d}\right )}{-3 \left (-c \,d^{2}\right )^{\frac {1}{3}}+i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}}}\, \sqrt {-\frac {i d \left (2 x +\frac {i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}+\left (-c \,d^{2}\right )^{\frac {1}{3}}}{d}\right )}{2 \left (-c \,d^{2}\right )^{\frac {1}{3}}}}\, \left (i \left (-c \,d^{2}\right )^{\frac {1}{3}} \underline {\hspace {1.25 ex}}\alpha \sqrt {3}\, d -i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {2}{3}}+2 \underline {\hspace {1.25 ex}}\alpha ^{2} d^{2}-\left (-c \,d^{2}\right )^{\frac {1}{3}} \underline {\hspace {1.25 ex}}\alpha d -\left (-c \,d^{2}\right )^{\frac {2}{3}}\right ) \EllipticPi \left (\frac {\sqrt {3}\, \sqrt {\frac {i \left (x +\frac {\left (-c \,d^{2}\right )^{\frac {1}{3}}}{2 d}-\frac {i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}}{2 d}\right ) \sqrt {3}\, d}{\left (-c \,d^{2}\right )^{\frac {1}{3}}}}}{3}, -\frac {2 i \left (-c \,d^{2}\right )^{\frac {1}{3}} \sqrt {3}\, \underline {\hspace {1.25 ex}}\alpha ^{2} d -i \left (-c \,d^{2}\right )^{\frac {2}{3}} \sqrt {3}\, \underline {\hspace {1.25 ex}}\alpha +i \sqrt {3}\, c d -3 \left (-c \,d^{2}\right )^{\frac {2}{3}} \underline {\hspace {1.25 ex}}\alpha -3 c d}{18 d c}, \sqrt {\frac {i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}}{d \left (-\frac {3 \left (-c \,d^{2}\right )^{\frac {1}{3}}}{2 d}+\frac {i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}}{2 d}\right )}}\right )}{2 \sqrt {d \,x^{3}+c}}\right )}{486 d^{3} c^{2}}\) | \(443\) |
elliptic | \(\frac {\sqrt {d \,x^{3}+c}}{27 c d \left (-d \,x^{3}+8 c \right )}-\frac {i \sqrt {2}\, \left (\munderset {\underline {\hspace {1.25 ex}}\alpha =\RootOf \left (d \,\textit {\_Z}^{3}-8 c \right )}{\sum }\frac {\left (-c \,d^{2}\right )^{\frac {1}{3}} \sqrt {2}\, \sqrt {\frac {i d \left (2 x +\frac {-i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}+\left (-c \,d^{2}\right )^{\frac {1}{3}}}{d}\right )}{\left (-c \,d^{2}\right )^{\frac {1}{3}}}}\, \sqrt {\frac {d \left (x -\frac {\left (-c \,d^{2}\right )^{\frac {1}{3}}}{d}\right )}{-3 \left (-c \,d^{2}\right )^{\frac {1}{3}}+i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}}}\, \sqrt {-\frac {i d \left (2 x +\frac {i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}+\left (-c \,d^{2}\right )^{\frac {1}{3}}}{d}\right )}{2 \left (-c \,d^{2}\right )^{\frac {1}{3}}}}\, \left (i \left (-c \,d^{2}\right )^{\frac {1}{3}} \underline {\hspace {1.25 ex}}\alpha \sqrt {3}\, d -i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {2}{3}}+2 \underline {\hspace {1.25 ex}}\alpha ^{2} d^{2}-\left (-c \,d^{2}\right )^{\frac {1}{3}} \underline {\hspace {1.25 ex}}\alpha d -\left (-c \,d^{2}\right )^{\frac {2}{3}}\right ) \EllipticPi \left (\frac {\sqrt {3}\, \sqrt {\frac {i \left (x +\frac {\left (-c \,d^{2}\right )^{\frac {1}{3}}}{2 d}-\frac {i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}}{2 d}\right ) \sqrt {3}\, d}{\left (-c \,d^{2}\right )^{\frac {1}{3}}}}}{3}, -\frac {2 i \left (-c \,d^{2}\right )^{\frac {1}{3}} \sqrt {3}\, \underline {\hspace {1.25 ex}}\alpha ^{2} d -i \left (-c \,d^{2}\right )^{\frac {2}{3}} \sqrt {3}\, \underline {\hspace {1.25 ex}}\alpha +i \sqrt {3}\, c d -3 \left (-c \,d^{2}\right )^{\frac {2}{3}} \underline {\hspace {1.25 ex}}\alpha -3 c d}{18 d c}, \sqrt {\frac {i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}}{d \left (-\frac {3 \left (-c \,d^{2}\right )^{\frac {1}{3}}}{2 d}+\frac {i \sqrt {3}\, \left (-c \,d^{2}\right )^{\frac {1}{3}}}{2 d}\right )}}\right )}{2 \sqrt {d \,x^{3}+c}}\right )}{486 d^{3} c^{2}}\) | \(443\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.49, size = 72, normalized size = 1.07 \begin {gather*} -\frac {\frac {6 \, \sqrt {d x^{3} + c}}{{\left (d x^{3} + c\right )} c - 9 \, c^{2}} + \frac {\log \left (\frac {\sqrt {d x^{3} + c} - 3 \, \sqrt {c}}{\sqrt {d x^{3} + c} + 3 \, \sqrt {c}}\right )}{c^{\frac {3}{2}}}}{162 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.69, size = 153, normalized size = 2.28 \begin {gather*} \left [\frac {{\left (d x^{3} - 8 \, c\right )} \sqrt {c} \log \left (\frac {d x^{3} + 6 \, \sqrt {d x^{3} + c} \sqrt {c} + 10 \, c}{d x^{3} - 8 \, c}\right ) - 6 \, \sqrt {d x^{3} + c} c}{162 \, {\left (c^{2} d^{2} x^{3} - 8 \, c^{3} d\right )}}, -\frac {{\left (d x^{3} - 8 \, c\right )} \sqrt {-c} \arctan \left (\frac {\sqrt {d x^{3} + c} \sqrt {-c}}{3 \, c}\right ) + 3 \, \sqrt {d x^{3} + c} c}{81 \, {\left (c^{2} d^{2} x^{3} - 8 \, c^{3} d\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{\left (- 8 c + d x^{3}\right )^{2} \sqrt {c + d x^{3}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.17, size = 59, normalized size = 0.88 \begin {gather*} -\frac {\arctan \left (\frac {\sqrt {d x^{3} + c}}{3 \, \sqrt {-c}}\right )}{81 \, \sqrt {-c} c d} - \frac {\sqrt {d x^{3} + c}}{27 \, {\left (d x^{3} - 8 \, c\right )} c d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.98, size = 75, normalized size = 1.12 \begin {gather*} \frac {\ln \left (\frac {10\,c+d\,x^3+6\,\sqrt {c}\,\sqrt {d\,x^3+c}}{8\,c-d\,x^3}\right )}{162\,c^{3/2}\,d}+\frac {\sqrt {d\,x^3+c}}{27\,c\,d\,\left (8\,c-d\,x^3\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________